﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WJP.Dependency;

namespace WJP.ComponentModel
{
    public class AppOptions
    {
        /// <summary>
        /// 
        /// </summary>
        public IIocManager IocManager { get; set; }

        /// <summary>
        /// 插件源列表
        /// </summary>
        public List<IPluginSource> PluginSources { get; }

        /// <summary>
        /// 是否启用拦截器
        /// </summary>
        public bool DisableAllInterceptors { get; set; }

        public AppOptions()
        {
            IocManager = WJP.Dependency.IocManager.Instance;
            PluginSources = new List<IPluginSource>();
        }
    }
}
